import { Component } from '@angular/core';

@Component({
  selector: 'app-root',
  templateUrl: './app.component.html',
  styleUrls: ['./app.component.scss']
})
export class AppComponent {

  house_type = ['一室', '两室', '三室', '四室', '别墅', '酒店', '公司', '商场'];
  choosed_type = '经典';

  choose_house_type(n) {
    this.choosed_type = this.house_type[n];
  }

  classic_case() {
    this.choosed_type = '经典';
  }
}
